[INFO] fetching crate libgatekeeper-sys 0.3.0...
[INFO] checking libgatekeeper-sys-0.3.0 against master#39323a5877ee6b85e75c652c2518a97a1433a2dc for pr-102593
[INFO] extracting crate libgatekeeper-sys 0.3.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate libgatekeeper-sys 0.3.0 on toolchain 39323a5877ee6b85e75c652c2518a97a1433a2dc
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libgatekeeper-sys 0.3.0
[INFO] finished tweaking crates.io crate libgatekeeper-sys 0.3.0
[INFO] tweaked toml for crates.io crate libgatekeeper-sys 0.3.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate crates.io crate libgatekeeper-sys 0.3.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2afed5a8c9c8337405ef67e2443588213dda8409a580862d98fec77a66dcd50a
[INFO] running `Command { std: "docker" "start" "-a" "2afed5a8c9c8337405ef67e2443588213dda8409a580862d98fec77a66dcd50a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2afed5a8c9c8337405ef67e2443588213dda8409a580862d98fec77a66dcd50a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2afed5a8c9c8337405ef67e2443588213dda8409a580862d98fec77a66dcd50a", kill_on_drop: false }`
[INFO] [stdout] 2afed5a8c9c8337405ef67e2443588213dda8409a580862d98fec77a66dcd50a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+39323a5877ee6b85e75c652c2518a97a1433a2dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3833f88a5e46b192fc5e161bd9484f606777542de5d6da6cb1d0a96281bcb242
[INFO] running `Command { std: "docker" "start" "-a" "3833f88a5e46b192fc5e161bd9484f606777542de5d6da6cb1d0a96281bcb242", kill_on_drop: false }`
[INFO] [stderr]     Checking libgatekeeper-sys v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> examples/read_tag.rs:7:26
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let mut device = nfc.gatekeeper_device().ok_or("failed to get gatekeeper device")?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^-- an argument of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let mut device = nfc.gatekeeper_device(/* String */).ok_or("failed to get gatekeeper device")?;
[INFO] [stdout]    |                                           ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 5 arguments but 4 arguments were supplied
[INFO] [stdout]   --> examples/issue_tag_unsafe.rs:67:28
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let issue_result = issue_tag(tag, system_secret.as_ptr(), realms as *mut _, 1);
[INFO] [stdout]    |                            ^^^^^^^^^                                                - an argument of type `*mut *mut c_void` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ffi.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 |     pub fn issue_tag(
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let issue_result = issue_tag(tag, system_secret.as_ptr(), realms as *mut _, /* *mut *mut c_void */, 1);
[INFO] [stdout]    |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> examples/issue_tag_unsafe.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let authenticate_result = authenticate_tag(tag, realm);
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^------------ an argument of type `*mut u8` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/ffi.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub fn authenticate_tag(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let authenticate_result = authenticate_tag(tag, realm, /* *mut u8 */);
[INFO] [stdout]    |                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0606]: casting `&mut *mut c_void` as `*mut i8` is invalid
[INFO] [stdout]   --> examples/issue_tag_unsafe.rs:67:67
[INFO] [stdout]    |
[INFO] [stdout] 67 |         let issue_result = issue_tag(tag, system_secret.as_ptr(), realms as *mut _, 1);
[INFO] [stdout]    |                                                                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]  --> examples/issue_tag.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Err(e) => println!("{}", e.description()),
[INFO] [stdout]   |                                    ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0606.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgatekeeper-sys` due to 4 previous errors
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> examples/issue_tag.rs:13:26
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut device = nfc.gatekeeper_device().ok_or("failed to open NFC device")?;
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^-- an argument of type `String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn gatekeeper_device(&mut self, conn_str: String) -> Option<NfcDevice> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut device = nfc.gatekeeper_device(/* String */).ok_or("failed to open NFC device")?;
[INFO] [stdout]    |                                           ~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `libgatekeeper-sys` due to 2 previous errors
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> examples/issue_tag.rs:24:9
[INFO] [stdout]     |
[INFO] [stdout] 24  |     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", &mut realm)
[INFO] [stdout]     |         ^^^^^------------------------------------------------ an argument of type `Vec<&mut Realm>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: expected enum `Option`, found `&mut Realm`
[INFO] [stdout]    --> examples/issue_tag.rs:24:51
[INFO] [stdout]     |
[INFO] [stdout] 24  |     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", &mut realm)
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout]     = note:           expected enum `Option<&str>`
[INFO] [stdout]             found mutable reference `&mut Realm`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> /opt/rustwide/workdir/src/lib.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout] 132 |     pub fn issue(&mut self, system_secret: &str, uid: Option<&str>, in_realms: Vec<&mut Realm>) -> Result<(), ()> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 24  |     tag.issue("cdfc36ef1b3d87a81a4114cb75459e27", /* Option<&str> */, /* Vec<&mut Realm> */)
[INFO] [stdout]     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libgatekeeper-sys` due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "3833f88a5e46b192fc5e161bd9484f606777542de5d6da6cb1d0a96281bcb242", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3833f88a5e46b192fc5e161bd9484f606777542de5d6da6cb1d0a96281bcb242", kill_on_drop: false }`
[INFO] [stdout] 3833f88a5e46b192fc5e161bd9484f606777542de5d6da6cb1d0a96281bcb242
